package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组态工艺对象 dispatchConfiguration
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchConfiguration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组态图 ID */
    private Long configurationId;

    /** 组态图类型 */
    @Excel(name = "组态图类型")
    private String configurationType;

    /** 三维模型数据 */
    @Excel(name = "三维模型数据")
    private String threeDModelData;

    /** 设备 ID */
    @Excel(name = "设备 ID")
    private Long equipmentId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String equipmentType;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String equipmentModel;

    /** 额定参数 */
    @Excel(name = "额定参数")
    private String ratedParameters;

    /** 运行状态 */
    @Excel(name = "运行状态")
    private String operationStatus;

    /** 实时流量 */
    @Excel(name = "实时流量")
    private BigDecimal realTimeFlow;

    /** 实时压力 */
    @Excel(name = "实时压力")
    private BigDecimal realTimePressure;

    /** 水质指标 */
    @Excel(name = "水质指标")
    private String waterQualityIndex;

    /** 数据更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataUpdateTime;

    /** 数据刷新频率 */
    @Excel(name = "数据刷新频率")
    private Long dataRefreshFrequency;

    /** 报警阈值 */
    @Excel(name = "报警阈值")
    private String alarmThreshold;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private Integer alarmStatus;

    /** 报警信息 */
    @Excel(name = "报警信息")
    private String alarmMessage;

    /** 历史数据 ID */
    @Excel(name = "历史数据 ID")
    private Long historicalDataId;

    /** 历史数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "历史数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date historicalDataTime;

    /** 历史流量数据 */
    @Excel(name = "历史流量数据")
    private BigDecimal historicalFlowData;

    /** 历史压力数据 */
    @Excel(name = "历史压力数据")
    private Long historicalPressureData;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String operationType;

    /** 历史水质数据 */
    @Excel(name = "历史水质数据")
    private String historicalWaterQualityData;

    public void setConfigurationId(Long configurationId) 
    {
        this.configurationId = configurationId;
    }

    public Long getConfigurationId() 
    {
        return configurationId;
    }
    public void setConfigurationType(String configurationType) 
    {
        this.configurationType = configurationType;
    }

    public String getConfigurationType() 
    {
        return configurationType;
    }
    public void setThreeDModelData(String threeDModelData) 
    {
        this.threeDModelData = threeDModelData;
    }

    public String getThreeDModelData() 
    {
        return threeDModelData;
    }
    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setEquipmentModel(String equipmentModel) 
    {
        this.equipmentModel = equipmentModel;
    }

    public String getEquipmentModel() 
    {
        return equipmentModel;
    }
    public void setRatedParameters(String ratedParameters) 
    {
        this.ratedParameters = ratedParameters;
    }

    public String getRatedParameters() 
    {
        return ratedParameters;
    }
    public void setOperationStatus(String operationStatus) 
    {
        this.operationStatus = operationStatus;
    }

    public String getOperationStatus() 
    {
        return operationStatus;
    }
    public void setRealTimeFlow(BigDecimal realTimeFlow) 
    {
        this.realTimeFlow = realTimeFlow;
    }

    public BigDecimal getRealTimeFlow() 
    {
        return realTimeFlow;
    }
    public void setRealTimePressure(BigDecimal realTimePressure) 
    {
        this.realTimePressure = realTimePressure;
    }

    public BigDecimal getRealTimePressure() 
    {
        return realTimePressure;
    }
    public void setWaterQualityIndex(String waterQualityIndex) 
    {
        this.waterQualityIndex = waterQualityIndex;
    }

    public String getWaterQualityIndex() 
    {
        return waterQualityIndex;
    }
    public void setDataUpdateTime(Date dataUpdateTime) 
    {
        this.dataUpdateTime = dataUpdateTime;
    }

    public Date getDataUpdateTime() 
    {
        return dataUpdateTime;
    }
    public void setDataRefreshFrequency(Long dataRefreshFrequency) 
    {
        this.dataRefreshFrequency = dataRefreshFrequency;
    }

    public Long getDataRefreshFrequency() 
    {
        return dataRefreshFrequency;
    }
    public void setAlarmThreshold(String alarmThreshold) 
    {
        this.alarmThreshold = alarmThreshold;
    }

    public String getAlarmThreshold() 
    {
        return alarmThreshold;
    }
    public void setAlarmStatus(Integer alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public Integer getAlarmStatus() 
    {
        return alarmStatus;
    }
    public void setAlarmMessage(String alarmMessage) 
    {
        this.alarmMessage = alarmMessage;
    }

    public String getAlarmMessage() 
    {
        return alarmMessage;
    }
    public void setHistoricalDataId(Long historicalDataId) 
    {
        this.historicalDataId = historicalDataId;
    }

    public Long getHistoricalDataId() 
    {
        return historicalDataId;
    }
    public void setHistoricalDataTime(Date historicalDataTime) 
    {
        this.historicalDataTime = historicalDataTime;
    }

    public Date getHistoricalDataTime() 
    {
        return historicalDataTime;
    }
    public void setHistoricalFlowData(BigDecimal historicalFlowData) 
    {
        this.historicalFlowData = historicalFlowData;
    }

    public BigDecimal getHistoricalFlowData() 
    {
        return historicalFlowData;
    }
    public void setHistoricalPressureData(Long historicalPressureData) 
    {
        this.historicalPressureData = historicalPressureData;
    }

    public Long getHistoricalPressureData() 
    {
        return historicalPressureData;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setOperationType(String operationType) 
    {
        this.operationType = operationType;
    }

    public String getOperationType() 
    {
        return operationType;
    }
    public void setHistoricalWaterQualityData(String historicalWaterQualityData) 
    {
        this.historicalWaterQualityData = historicalWaterQualityData;
    }

    public String getHistoricalWaterQualityData() 
    {
        return historicalWaterQualityData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configurationId", getConfigurationId())
            .append("configurationType", getConfigurationType())
            .append("threeDModelData", getThreeDModelData())
            .append("equipmentId", getEquipmentId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentType", getEquipmentType())
            .append("equipmentModel", getEquipmentModel())
            .append("ratedParameters", getRatedParameters())
            .append("operationStatus", getOperationStatus())
            .append("realTimeFlow", getRealTimeFlow())
            .append("realTimePressure", getRealTimePressure())
            .append("waterQualityIndex", getWaterQualityIndex())
            .append("dataUpdateTime", getDataUpdateTime())
            .append("dataRefreshFrequency", getDataRefreshFrequency())
            .append("alarmThreshold", getAlarmThreshold())
            .append("alarmStatus", getAlarmStatus())
            .append("alarmMessage", getAlarmMessage())
            .append("historicalDataId", getHistoricalDataId())
            .append("historicalDataTime", getHistoricalDataTime())
            .append("historicalFlowData", getHistoricalFlowData())
            .append("historicalPressureData", getHistoricalPressureData())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .append("operationType", getOperationType())
            .append("historicalWaterQualityData", getHistoricalWaterQualityData())
            .toString();
    }
}
